# How to run CocoaPods on Apple Silicon (M1)

Highly upvoted on StackOverflow:

- [How to run CocoaPods on Apple Silicon (M1)](https://stackoverflow.com/questions/64901180/how-to-run-cocoapods-on-apple-silicon-m1)

Top answer seems to be:

```
# Uninstall the local cocoapods gem
sudo gem uninstall cocoapods

# Reinstall cocoapods via Homebrew
brew install cocoapods
```